package com.devunion.bogdan.model.event;

import java.util.EventObject;

/**
 * @author Viktar Liaskovich
 */
public class BaseEvent<T> extends EventObject {
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public BaseEvent(T source) {
        super(source);
    }


    public T getSource() {
        return (T) super.getSource();
    }
}
